package pri.hillchen.springboot.shiro.service;

import pri.hillchen.springboot.shiro.common.service.BaseService;
import pri.hillchen.springboot.shiro.entity.Role;

import java.util.List;
import java.util.Set;

/**
 * Created by hillchen on 2017/10/17 0017.
 */
public interface RoleService extends BaseService<Role> {
    List<Role> queryUserRole(String userName);
    void assignPermission(Integer roleId, Set<Integer> permissionIds);
}
